package com.course.domain;

import java.io.Serializable;
import java.util.Set;

public class MyClass implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4966066651040874845L;
	private Integer id;
	private String name;
	private Specialty specialty;
	private boolean finish;
	private String startYear;
	private int lengthYear;

	private Set< Student > students;

	public Integer getId()
	{
		return id;
	}

	public void setId( Integer id )
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName( String name )
	{
		this.name = name;
	}

	public Specialty getSpecialty()
	{
		return specialty;
	}

	public void setSpecialty( Specialty specialty )
	{
		this.specialty = specialty;
	}

	public Set< Student > getStudents()
	{
		return students;
	}

	public void setStudents( Set< Student > students )
	{
		this.students = students;
	}

	public boolean isFinish()
	{
		return finish;
	}

	public void setFinish( boolean finish )
	{
		this.finish = finish;
	}

	public String getStartYear()
	{
		return startYear;
	}

	public void setStartYear( String startYear )
	{
		this.startYear = startYear;
	}

	public int getLengthYear()
	{
		return lengthYear;
	}

	public void setLengthYear( int lengthYear )
	{
		this.lengthYear = lengthYear;
	}

}
